package com.bupt.kgplatform.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * Log
 *
 * @author zrz
 * @date 2024/5/20
 * @time 17:28
 * @Description 日志信息
 */
@Data
@TableName("log_table")
@EqualsAndHashCode(callSuper = true)
public class Log extends Model<Log> {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value="主键")
    private Integer id;


    private Integer userId;
    private String userName;
    private String createTime;
    private String content;
}
